using System.ComponentModel.DataAnnotations;

namespace Admin.NET.Application;

public class AddRoomInput : RoomInput
{
	/// <summary>
	/// name
	/// </summary>
	[Required(ErrorMessage = "名称不能为空")]
	public override string Name { get; set; }

	/// <summary>
	/// 区域id
	/// </summary>
	[Required(ErrorMessage = "区域id不能为空")]
	public override long? BuildingId { get; set; }
}
